#pragma once;

#include "common.h"


class World;
class SpringBody;

class SpringFactory
{
public:
	static SpringBody* makeBox(World *world, real x, real y, real w, real h);
	static SpringBody* makeSphere(World *world, real x, real y, real radius, bool locked);
	static void makeDebris(World *physWorld, SpringBody *inputBody, std::vector<SpringBody*> &fractureList);
	static SpringBody* makeTriangle(World *world, real x, real y, real size);

	static SpringBody* makeGear(World *world, real x, real y, real size);
private:
	World *physWorld;
};
